package com.define.commons.dao.domain;

import lombok.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Author xiewenlong
 * @Date 2018/12/10 10:12
 */
@Data
@Entity
@Builder
@Table(name = "process_on")
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class ProcessOn extends BaseModel {

    private String name;

    private String sex;

    private Integer age;

    //private Long processId;
    @Column(name = "process_id")
    private Process process;
}
